﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;


using Kingdee.BOS.Core.List.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Core.Permission;
using Kingdee.BOS.ServiceHelper;
using Kingdee.BOS.Core.DynamicForm;
using Kingdee.BOS.Core.List;
using Kingdee.BOS.DataEntity;
using Kingdee.BOS.Core.List.PlugIn.Args;
using Kingdee.BOS;
using Kingdee.BOS.Core.Bill;
using Kingdee.BOS.Util;
using Kingdee.BOS.JSON;
using Kingdee.BOS.Core;
using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.Bill.PlugIn;
using Kingdee.BOS.Core.Metadata;
using Kingdee.BOS.Core.Metadata.FieldElement;
using Kingdee.BOS.ServiceHelper.Excel;
using Kingdee.BOS.App.Data;

namespace JPDPROJECT
{
    public class ImportSETYF:AbstractListPlugIn
    {
        public override void BarItemClick(BarItemClickEventArgs e)
        {
            if (e.BarItemKey.Equals("tbButton_YF", StringComparison.OrdinalIgnoreCase))
            {
                                // 显示文件上传界面，上传Excel文件
                //测试账套 ke619794d25c4438a8d7909d4b82087c6
                //客户测试 ke619794d25c4438a8d7909d4b82087c6
                DynamicFormShowParameter showParam = new DynamicFormShowParameter();
                showParam.FormId = "ke619794d25c4438a8d7909d4b82087c6";

                this.View.ShowForm(showParam);
            }
        }

     }
}
